class window.Screen
    constructor : () ->
    setLast : (@lastScreen) ->
    update : () ->
    render : () ->

    makeCurrent : () ->
        window.makeCurrentScreen @

    screenGoBack : () ->
        if @lastScreen != null
            @lastScreen.restore()
            window.makeCurrentScreen @lastScreen

